import request from "@/utils/request";

export interface UserInfo {
    account: string;
    avatar: string;
    avocation: [];
    level: number;
    moreBackup: {};
    statisticsBackup: {};
}

export default {
    reqUserInfo() {
        return request.get<any, UserInfo>(
            "/userCenter/users/me?access_token=341cc09c-86c3-4a75-bbb6-37822b51233d"
        );
    },
};
